package com.lottery.material.enumeration.transaction;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：交易记录枚举类
 * Created by 朱正磊 on 2019-04-15 16:59
 */
@Getter
public enum TransactionRecordEnum implements BaseEnum {

    // 用户入账类型（1：收入；2：支出）
    USER_BILL_TYPE_IN("USER_BILL_TYPE", 1, "收入"),
    USER_BILL_TYPE_OUT("USER_BILL_TYPE", 2, "支出"),

    // 公司入账类型（1：收入；2：支出）
    COMPANY_BILL_TYPE_IN("COMPANY_BILL_TYPE", 1, "收入"),
    COMPANY_BILL_TYPE_OUT("COMPANY_BILL_TYPE", 2, "支出"),
    ;

    private String code;
    private Object value;
    private String description;

    TransactionRecordEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String USER_BILL_TYPE = "USER_BILL_TYPE";
    public static final String COMPANY_BILL_TYPE = "COMPANY_BILL_TYPE";

}
